package com.chengyu.core.model;

import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;

public class XxlJobGroup implements Serializable {
    private Integer id;

    @ApiModelProperty(value = "执行器AppName")
    private String appName;

    @ApiModelProperty(value = "执行器名称")
    private String title;

    @ApiModelProperty(value = "执行器地址类型：0=自动注册、1=手动录入")
    private Byte addressType;

    private Date updateTime;

    @ApiModelProperty(value = "执行器地址列表，多地址逗号分隔")
    private String addressList;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAppName() {
        return appName;
    }

    public void setAppName(String appName) {
        this.appName = appName;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Byte getAddressType() {
        return addressType;
    }

    public void setAddressType(Byte addressType) {
        this.addressType = addressType;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getAddressList() {
        return addressList;
    }

    public void setAddressList(String addressList) {
        this.addressList = addressList;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", appName=").append(appName);
        sb.append(", title=").append(title);
        sb.append(", addressType=").append(addressType);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", addressList=").append(addressList);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}